<?php
$this->widget('bootstrap.widgets.TbBreadcrumbs', array(
		'links'=>array('Rules'=>array('index'), $model->id=>array('view','id'=>$model->id),'Update'=>array('Update')),
));
$this->menu=array(
	array('label'=>'List Rule','url'=>array('index')),
	array('label'=>'Create Rule','url'=>array('create')),
	array('label'=>'View Rule','url'=>array('view','id'=>$model->id)),
	array('label'=>'Manage Rule','url'=>array('admin')),
);
?>

<h1>Update Rule <?php echo $model->id; ?></h1>
<?php //if(Yii::app()->user->hasFlash('rule-msg')): ?>
<?php $this->widget('bootstrap.widgets.TbAlert'); ?>
 
<?php //endif; ?>
<?php echo $this->renderPartial('_form',array('model'=>$model,"itemArr"=>DataHelper::genHistoryDrop($model->id))); ?>